using System;
using System.Configuration;
using System.Data;

namespace SmallAdvert
{
    public class tm_small_advertInfo
    {
        #region "Private Members"
        int _advertId;
        string _subject;
        string _contents;
        DateTime _openDate;
        DateTime _closeDate;
        DateTime _createDate;
        int _createBy;
        string _status;
        int _editBy;
        #endregion

        #region "Constructors"
        public tm_small_advertInfo()
        {
        }

        public tm_small_advertInfo(int advertId, string subject, string contents, DateTime openDate, DateTime closeDate, DateTime createDate, int createBy, string status, int editBy)
        {
            this.advertId = advertId;
            this.subject = subject;
            this.contents = contents;
            this.openDate = openDate;
            this.closeDate = closeDate;
            this.createDate = createDate;
            this.createBy = createBy;
            this.Status = status;
            this.editBy = editBy;
        }
        #endregion

        #region "Public Properties"
        public int advertId
        {
            get { return _advertId; }
            set { _advertId = value; }
        }

        public string subject
        {
            get { return _subject; }
            set { _subject = value; }
        }

        public string contents
        {
            get { return _contents; }
            set { _contents = value; }
        }

        public DateTime openDate
        {
            get { return _openDate; }
            set { _openDate = value; }
        }

        public DateTime closeDate
        {
            get { return _closeDate; }
            set { _closeDate = value; }
        }

        public DateTime createDate
        {
            get { return _createDate; }
            set { _createDate = value; }
        }

        public int createBy
        {
            get { return _createBy; }
            set { _createBy = value; }
        }

        public string Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public int editBy
        {
            get { return _editBy; }
            set { _editBy = value; }
        }
        #endregion
    }
}


